package com.demo.statemachine.d20;

import org.springframework.statemachine.annotation.OnTransition;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description TODO
 * @ClassName StatesOnTransition
 * @Date 2021/12/16 17:58
 * @Author 王东平
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@OnTransition
public @interface TestOnTransition {

    TestStates[] source() default {};

    TestStates[] target() default {};
}
